android.ndk.log

Members

Enums

android_LogPriority
enum android_LogPriority

Android log priority values, in increasing order of priority.

log_id
enum log_id

Identifies a specific log buffer for __android_log_buf_write() and __android_log_buf_print().

Functions

__android_log_assert
void __android_log_assert(const(char)* cond, const(char)* tag, const(char)* fmt, ...)

Writes an assertion failure to the log (as ANDROID_LOG_FATAL) and to stderr, before calling abort(3).

__android_log_buf_print
int __android_log_buf_print(int bufID, int prio, const(char)* tag, const(char)* fmt, ...)

Writes a formatted string to log buffer id, with priority prio and tag tag. The details of formatting are the same as for printf(3).

__android_log_buf_write
int __android_log_buf_write(int bufID, int prio, const(char)* tag, const(char)* text)

Writes the constant string text to the log buffer id, with priority prio and tag tag.

__android_log_print
int __android_log_print(int prio, const(char)* tag, const(char)* fmt, ...)

Writes a formatted string to the log, with priority prio and tag tag. The details of formatting are the same as for printf(3).

__android_log_vprint
int __android_log_vprint(int prio, const(char)* tag, const(char)* fmt, va_list ap)

Equivalent to __android_log_print, but taking a va_list. (If __android_log_print is like printf, this is like vprintf.)

__android_log_write
int __android_log_write(int prio, const(char)* tag, const(char)* text)

Writes the constant string text to the log, with priority prio and tag tag.

Meta